﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x02000531 RID: 1329
	public class OpenVRInterop
	{
		// Token: 0x06001C9B RID: 7323
		[DllImport("openvr_api", EntryPoint = "VR_InitInternal")]
		internal static extern uint InitInternal(ref EVRInitError peError, EVRApplicationType eApplicationType);

		// Token: 0x06001C9C RID: 7324
		[DllImport("openvr_api", EntryPoint = "VR_ShutdownInternal")]
		internal static extern void ShutdownInternal();

		// Token: 0x06001C9D RID: 7325
		[DllImport("openvr_api", EntryPoint = "VR_IsHmdPresent")]
		internal static extern bool IsHmdPresent();

		// Token: 0x06001C9E RID: 7326
		[DllImport("openvr_api", EntryPoint = "VR_IsRuntimeInstalled")]
		internal static extern bool IsRuntimeInstalled();

		// Token: 0x06001C9F RID: 7327
		[DllImport("openvr_api", EntryPoint = "VR_GetStringForHmdError")]
		internal static extern IntPtr GetStringForHmdError(EVRInitError error);

		// Token: 0x06001CA0 RID: 7328
		[DllImport("openvr_api", EntryPoint = "VR_GetGenericInterface")]
		internal static extern IntPtr GetGenericInterface([MarshalAs(UnmanagedType.LPStr)] [In] string pchInterfaceVersion, ref EVRInitError peError);

		// Token: 0x06001CA1 RID: 7329
		[DllImport("openvr_api", EntryPoint = "VR_IsInterfaceVersionValid")]
		internal static extern bool IsInterfaceVersionValid([MarshalAs(UnmanagedType.LPStr)] [In] string pchInterfaceVersion);

		// Token: 0x06001CA2 RID: 7330
		[DllImport("openvr_api", EntryPoint = "VR_GetInitToken")]
		internal static extern uint GetInitToken();
	}
}
